Properties

$model_name

$model_name

$layout

$layout : string

Type

string — the default layout for the views. Defaults to '//layouts/column2', meaning using two-column layout. See 'protected/views/layouts/column2.php'.

Methods

filters()

filters() : array

Returns

array —

action filters

accessRules()

accessRules() : array

Specifies the access control rules.

This method is used by the 'accessControl' filter.

Returns

array —

access control rules

actionDuplicate()

actionDuplicate(int  $id) : mixed

Renders the view to duplicate the registration form field identified by the identifier given

Parameters

int $id

Throws

\CHttpException

Returns

mixed —

actionView()

actionView(int  $id) : mixed

Displays a particular model.

Parameters

int $id

the ID of the model to be displayed

Returns

mixed —

actionCreate()

actionCreate(mixed  $project_id, mixed  $rfg = null) : mixed

Creates a new model.

If creation is successful, the browser will be redirected to the 'view' page.

Parameters

mixed $project_id
mixed $rfg

Returns

mixed —

actionUpdate()

actionUpdate(int  $id) : mixed

Updates a particular model.

If update is successful, the browser will be redirected to the 'view' page.

Parameters

int $id

the ID of the model to be updated

Returns

mixed —

actionInlineUpdate()

actionInlineUpdate() : mixed

Updates a field in the model.

Returns

mixed —

actionDelete()

actionDelete(int  $id) : mixed

Deletes a particular model.

If deletion is successful, the browser will be redirected to the 'index' page.

Parameters

int $id

the ID of the model to be deleted

Returns

mixed —

loadModel()

loadModel(mixed  $id) : mixed

Returns the data model based on the primary key given in the GET variable.

If the data model is not found, an HTTP exception will be raised.

Parameters

mixed $id

Returns

mixed —

actionUpdateSort()

actionUpdateSort() : mixed

Returns

mixed —

actionUpdateOptionSort()

actionUpdateOptionSort() : mixed

Returns

mixed —

actionRuleoptions()

actionRuleoptions() : mixed

Show rule options

Returns

mixed —

actionConditionalVisibilityTarget()

actionConditionalVisibilityTarget() : mixed

Get conditional visibility targets

Returns

mixed —

performAjaxValidation()

performAjaxValidation(mixed  $model) : mixed

Performs the AJAX validation.

Parameters

mixed $model

Returns

mixed —

_manageInput()

_manageInput(mixed  $model) : mixed

Parameters

mixed $model

Returns

mixed —